import request from '@/utils/request'
import { ApiModulesRoutes } from '@/consts.js'

export function getIndustryAreaList() {
  return request({
    url: `${ApiModulesRoutes.USER}/companyGraph/findIndustryAreaList`,
    method: 'POST',
  })
}

export function getCompanyGraphList(data) {
  return request({
    url: `${ApiModulesRoutes.USER}/companyGraph/findCompanyGraphList`,
    method: 'POST',
    data,
  })
}

export function getstockemotion() {
  return request({
    url: `${ApiModulesRoutes.USER}/stockemotion/findstockemotion?Day=` + 1,
    method: 'GET',
  })
}

export function getCompanyList(data) {
  return request({
    url: `${ApiModulesRoutes.USER}/company/findCompanyList`,
    method: 'POST',
    data,
  })
}
